/*
   头部风格
 */
.layui-layout-admin .layui-header{ background-color: #fff; height: 80px; position: fixed;  top: 0; left: 256px; right: 0px; border-bottom: 1px solid #f6f6f6; box-sizing: border-box; box-shadow: 0 0 8px #eee}
.layui-layout-admin .layui-logo{ width: 256px; height: 80px;  border-bottom: 1px #051e35 solid; background-color: #001529; box-shadow: 2px 0 6px rgba(0,21,41,.35); position: absolute; z-index: 10000; }



/*
  布局
 */
.layui-layout-admin .layui-side{ top: 0px; width: 256px; background-color: #001529; box-shadow: 2px 0 6px rgba(0,21,41,.35);}
.layui-layout-admin .layui-body{ top: 80px; left: 256px; position: fixed; bottom: 0;}
.layui-layout-admin .layui-nav-tree{ width: inherit; }


/*
 头部菜单右侧
 */
.layui-header .layui-layout-right .layui-nav-item{line-height: 80px;}
.layui-header .layui-layout-right .layui-nav-child{ top: 80px; }

.layui-side-scroll{ width: 256px }
.layui-side-menu .layui-nav{;margin-top: 80px; background: 0 0;}

.layui-layout-admin .layui-body, .layui-layout-admin .layui-footer, .layui-layout-admin .layui-layout-left{left: 256px;}
.layui-header .layui-layout-left{ position: absolute!important; left: 0; }
.layui-header .layui-layout-left .layui-nav-item{ line-height: inherit; float: left;}
.layui-header .layui-layout-left .layui-nav-item a{ color: #333; text-align: center; display: block; height: 80px; }
.layui-header .layui-layout-left .layui-nav-item a i{ margin-top: 15px; font-size: 25px; display: inline-block; }
.layui-header .layui-layout-left .layui-nav-item a p{ padding-top: 3px; color:rgba(0,0,0,0.65); }


.layui-header .layui-layout-right a, .layui-header .layui-layout-right a:hover{color: #333}
.layui-nav .layui-nav-more{ border-color: #333 transparent transparent;}



/*
  元素风格替换/鼠标经过效果
 */
.layui-nav-tree .layui-nav-bar{background-color: #1890ff}
.layui-nav-tree .layui-nav-child dd.layui-this, .layui-nav-tree .layui-nav-child dd.layui-this a, .layui-nav-tree .layui-this, .layui-nav-tree .layui-this>a, .layui-nav-tree .layui-this>a:hover{background-color: #1890ff}

.layui-nav .layui-this:after, .layui-nav-bar, .layui-nav-tree .layui-nav-itemed:after{background-color: #1890ff; height: 2px;}

/* 鼠标经过 小箭头 **/
.layui-layout-admin .layui-header .layui-nav .layui-nav-mored{border-color: transparent;  border-bottom-color: #333;margin-top: -9px; border-style: dashed dashed solid;}


/*
  layout-iframe
 */
.layadmin-iframe{position: absolute; width: 100%; height: 100%; left: 0; top: 0; right: 0; bottom: 0; border-width: 0px;}


/*
   common 通用
 */
/*.layadmin-pagetabs, .layui-layout-admin .layui-body, .layui-layout-admin .layui-footer, .layui-layout-admin .layui-header .layui-layout-right, .layui-layout-admin .layui-header .layui-nav .layui-nav-item, .layui-layout-admin .layui-layout-left, .layui-layout-admin .layui-logo, .layui-layout-admin .layui-side{transition: all .3s; -webkit-transition: all .3s;}*/
body .layui-fluid{ padding: 0 20px; }

.layui-nav .layui-this:after, .layui-nav-bar, .layui-nav-tree .layui-nav-itemed:after{background-color: #1890ff; height: 2px;}
.layui-nav .layui-nav-child dd.layui-this a, .layui-nav-child dd.layui-this{ background-color: #1890ff }


/*
  箭头风格替换
 */
.layui-nav-tree .layui-nav-item a{ padding-left: 20px; }
.layui-nav-tree .layui-nav-item a:hover{background-color: initial;}

.layui-side dd{ padding-left: 20px; }

.layui-side .layui-nav-more{
  overflow:visible;
  border-width: inherit;
  top: 45%;
  margin-right: 15px;
}

.layui-side .layui-nav-more:before,.layui-side .layui-nav-more:after{
   position: absolute;
   content: '';
   border-top: 5px transparent dashed;
   border-left: 5px transparent dashed;
   border-right: 5px transparent dashed;
   border-bottom: 5px #001529 solid;

}

.layui-side .layui-nav-itemed .layui-nav-more:before{
  top: 10px;
  border-left: 1px solid #eee;
  border-bottom: 1px solid #eee;
  height: 5px;
  width: 5px;
  transform: translate(2px, -2px) rotate(-45deg);
  -webkit-transform: translate(2px, -2px) rotate(-45deg);
  border-right: 1px solid transparent;
  border-top: 1px solid transparent;
  display: inline-block;
  -moz-transform: translate(2px, -2px) rotate(-45deg);
  -ms-transform: translate(2px, -2px) rotate(-45deg);
  -o-transform: translate(2px, -2px) rotate(-45deg);

}
.layui-side .layui-nav-more:before{
    border-bottom: 5px #eee solid;
}

.layui-side .layui-nav-more:after{
  top: 1px; 
  border-bottom: 5px #001529 solid;
}




/*
  ad-breadcrumb/面包屑
 */
.ad-breadcrumb{background-color: #fff; margin: -15px; margin-top: 0px; margin-bottom: 20px; padding: 20px;}
.ad-breadcrumb .title{ font-size: 20px; margin-top: 10px; font-weight: bold; color: #333 }


/*
  通用表格头部查询
 */
.ad-search{ background-color: #fff; overflow: hidden; padding-right: 20px; margin-bottom: 20px;}
.ad-search>.layui-row{ padding-top: 20px; padding-bottom: 20px; height: 30px; overflow: hidden; }
.ad-search>.layui-row>div{ height: 50px;}
.ad-search-form{ padding-left: 15px; display: inline-block; }



/*
  卡片表头
 */
.ad-card{ margin: 20px }
.ad-card .layui-card-header{font-size: 16px; color: #000; padding: 10px; padding-left: 22px;}
.ad-card .opr .layui-btn i{ float: left; margin-top: -3px; }



/*
 表单，按钮替换
 */
.layui-input, .layui-select, .layui-textarea{ height: 32px;  color: rgba(0,0,0,0.7);}
.layui-form-label{ padding: 6px; }
.layui-input-block{ margin-left: 100px }

.layui-input:hover, .layui-textarea:hover{ border:1px #1890ff solid!important; }
.layui-input:focus, .layui-textarea:focus {
    border-color: #40a9ff;
    border-right-width: 1px!important;
    outline: 0;
    box-shadow: 0 0 0 2px rgba(24,144,255,.2);
  }

body .layui-btn{
    line-height: 1.5715;
    position: relative;
    display: inline-block;
    font-weight: 400;
    white-space: nowrap;
    text-align: center;
    background-image: none;
    cursor: pointer;
    user-select: none;
    touch-action: manipulation;
    height: 32px;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
    padding: 4px 15px;
    border-radius: 2px;
    border-width: 1px;
    border-style: solid;
    border-image: initial;
    color: rgb(255, 255, 255);
    background-color: rgb(24, 144, 255);
    text-shadow: rgba(0, 0, 0, 0.12) 0px -1px 0px;
    box-shadow: rgba(0, 0, 0, 0.043) 0px 2px 0px;
    border-color: rgb(24, 144, 255);
  }

  body .layui-btn-primary{ background: rgb(255, 255, 255); border-color: rgb(217, 217, 217); color: rgba(0, 0, 0, 0.65);  text-shadow: inherit; }
  body .layui-btn-primary:hover{border-color: #1890ff;}
